package com.sneaker.shower.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.io.InputStream;
import java.io.OutputStream;

/**
 * @author Hechangjian
 * @version 1.0
 * @className FileService
 * @date 2019/12/01 1:16
 * @description
 * @program bath
 */
public interface FileService {
    String upload(File file);

    String upload(MultipartFile multipartFile);

    String upload(String fileName, InputStream is);

    String download(String fileName, OutputStream os);

    File download(String fileName);
}
